package com.graduation.check.dto;

import lombok.Data;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

@Data
public class TitleCheckRequest {

    @NotBlank(message = "论文题目不能为空")
    @Size(min = 10, max = 200, message = "题目长度应在10-200个字符之间")
    private String title;

    private String description;

    @NotBlank(message = "查重范围不能为空")
    private String checkScope; // current, history, current_and_history

    @NotNull(message = "年份范围不能为空")
    private Integer yearRange;
}